package com.igd.exceptions;

/**
 * createDate:2013-6-16
 *
 * author:QIAOYU
 *
 * version:1.0
 *
 * description:开发平台自定义异常类
 */

public class IgdException extends Exception {

	private static final long serialVersionUID = 2892224050166443947L;
	
	private String title;
	
	private String exceptionMsg;
	
	private String backUrl;
	
	private Exception e;
	
	public IgdException(){
		
		super();

	}
	
	public IgdException(String message){
		
		super(message);
		
		this.exceptionMsg = message;
		
	}
	
	public IgdException(String title,String message,String backUrl){
		
		super(message);
		
		this.title = title;
		
		this.backUrl = backUrl;

	}

	public IgdException(Exception e){
		
		super(e.getMessage());

		this.e = e;

	}
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getExceptionMsg() {
		return exceptionMsg;
	}

	public void setExceptionMsg(String exceptionMsg) {
		this.exceptionMsg = exceptionMsg;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}

	public Exception getE() {
		return e;
	}

	public void setE(Exception e) {
		this.e = e;
	}
}
